package com.bjpowernode.p2p.mapper.loan;

import com.bjpowernode.p2p.model.loan.BidInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BidInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BidInfo record);

    int insertSelective(BidInfo record);

    BidInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BidInfo record);

    int updateByPrimaryKey(BidInfo record);


    Double selectAllMoney();

    List<BidInfo> selectBidInfoByProductId(String id);

    int insertInvestRecord(Map<String, Object> paramMap);

    List<BidInfo> selectAllBinfoByStatus(Integer statusOne);

    List<BidInfo> selectBidInfo();
}